<%@page pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Simi Models</title>
</head>

	<body>
		<div id="content">
			<h2 id="pageName">Simi: Models</h2>
		    <c:choose>
		    	  <c:when test="${empty MODELS}">
							<c:out value="No models found"/>
		        </c:when>
		        <c:otherwise>
		        	<ol>
							<c:forEach var="model" items="${MODELS}">
								<li><a href='<c:out value="${model.link}" />'><c:out value="${model.name}"/></a></li>
							</c:forEach>
						</ol>
		        </c:otherwise>
		    </c:choose>	
		</div>
	</body>
</html>